package dd.control;

import java.util.ArrayList;
import java.util.List;

import xml.Message;
import dd.model.Event;
import dd.model.Model;

public class AdminResponseController {

	public void process(Message response) {
		List<Event> events = new ArrayList<Event>();

		String info = response.contents.getFirstChild().getAttributes().getNamedItem("key").getNodeValue();

		if (Model.getInstance().getAdminScreen() != null) {
			Model.getInstance().getAdminScreen().getLblInfo().setText(info);
		}
	}
}
